package com.qianhui.pojo;

import java.sql.Timestamp;

/**
 * Article entity. @author MyEclipse Persistence Tools
 */

public class Article implements java.io.Serializable
{

    // Fields

    private String articleId;
    private String articleName;
    private String articleTips;
    private Timestamp articleStartTime;
    private String articleDetail;
    private String userId;
    private Timestamp articleUpdateTime;

    // Constructors

    /**
     * default constructor
     */
    public Article()
    {
    }

    /**
     * minimal constructor
     */
    public Article(String articleId, String articleName, Timestamp articleStartTime, String articleDetail, String userId, Timestamp articleUpdateTime)
    {
        this.articleId = articleId;
        this.articleName = articleName;
        this.articleStartTime = articleStartTime;
        this.articleDetail = articleDetail;
        this.userId = userId;
        this.articleUpdateTime = articleUpdateTime;
    }

    /**
     * full constructor
     */
    public Article(String articleId, String articleName, String articleTips, Timestamp articleStartTime, String articleDetail, String userId, Timestamp articleUpdateTime)
    {
        this.articleId = articleId;
        this.articleName = articleName;
        this.articleTips = articleTips;
        this.articleStartTime = articleStartTime;
        this.articleDetail = articleDetail;
        this.userId = userId;
        this.articleUpdateTime = articleUpdateTime;
    }

    // Property accessors

    public String getArticleId()
    {
        return this.articleId;
    }

    public void setArticleId(String articleId)
    {
        this.articleId = articleId;
    }

    public String getArticleName()
    {
        return this.articleName;
    }

    public void setArticleName(String articleName)
    {
        this.articleName = articleName;
    }

    public String getArticleTips()
    {
        return this.articleTips;
    }

    public void setArticleTips(String articleTips)
    {
        this.articleTips = articleTips;
    }

    public Timestamp getArticleStartTime()
    {
        return this.articleStartTime;
    }

    public void setArticleStartTime(Timestamp articleStartTime)
    {
        this.articleStartTime = articleStartTime;
    }

    public String getArticleDetail()
    {
        return this.articleDetail;
    }

    public void setArticleDetail(String articleDetail)
    {
        this.articleDetail = articleDetail;
    }

    public String getUserId()
    {
        return this.userId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public Timestamp getArticleUpdateTime()
    {
        return this.articleUpdateTime;
    }

    public void setArticleUpdateTime(Timestamp articleUpdateTime)
    {
        this.articleUpdateTime = articleUpdateTime;
    }

    @Override
    public String toString()
    {
        return "Article [articleId=" + articleId + ", articleName=" + articleName + ", articleTips=" + articleTips + ", articleStartTime=" + articleStartTime + ", articleDetail=" + articleDetail + ", userId=" + userId + ", articleUpdateTime=" + articleUpdateTime + "]";
    }

}